﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004D1 RID: 1233
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildShopAbilityDownCsReq : IMessage<EvolveBuildShopAbilityDownCsReq>, IMessage, IEquatable<EvolveBuildShopAbilityDownCsReq>, IDeepCloneable<EvolveBuildShopAbilityDownCsReq>, IBufferMessage
	{
		// Token: 0x17000FFD RID: 4093
		// (get) Token: 0x060037C7 RID: 14279 RVA: 0x00099F05 File Offset: 0x00098105
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildShopAbilityDownCsReq> Parser
		{
			get
			{
				return EvolveBuildShopAbilityDownCsReq._parser;
			}
		}

		// Token: 0x17000FFE RID: 4094
		// (get) Token: 0x060037C8 RID: 14280 RVA: 0x00099F0C File Offset: 0x0009810C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityDownCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FFF RID: 4095
		// (get) Token: 0x060037C9 RID: 14281 RVA: 0x00099F1E File Offset: 0x0009811E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityDownCsReq.Descriptor;
			}
		}

		// Token: 0x060037CA RID: 14282 RVA: 0x00099F25 File Offset: 0x00098125
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityDownCsReq()
		{
		}

		// Token: 0x060037CB RID: 14283 RVA: 0x00099F2D File Offset: 0x0009812D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityDownCsReq(EvolveBuildShopAbilityDownCsReq other) : this()
		{
			this.shopSkillId_ = other.shopSkillId_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060037CC RID: 14284 RVA: 0x00099F5E File Offset: 0x0009815E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityDownCsReq Clone()
		{
			return new EvolveBuildShopAbilityDownCsReq(this);
		}

		// Token: 0x17001000 RID: 4096
		// (get) Token: 0x060037CD RID: 14285 RVA: 0x00099F66 File Offset: 0x00098166
		// (set) Token: 0x060037CE RID: 14286 RVA: 0x00099F6E File Offset: 0x0009816E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ShopSkillId
		{
			get
			{
				return this.shopSkillId_;
			}
			set
			{
				this.shopSkillId_ = value;
			}
		}

		// Token: 0x17001001 RID: 4097
		// (get) Token: 0x060037CF RID: 14287 RVA: 0x00099F77 File Offset: 0x00098177
		// (set) Token: 0x060037D0 RID: 14288 RVA: 0x00099F7F File Offset: 0x0009817F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x060037D1 RID: 14289 RVA: 0x00099F88 File Offset: 0x00098188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildShopAbilityDownCsReq);
		}

		// Token: 0x060037D2 RID: 14290 RVA: 0x00099F96 File Offset: 0x00098196
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildShopAbilityDownCsReq other)
		{
			return other != null && (other == this || (this.ShopSkillId == other.ShopSkillId && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060037D3 RID: 14291 RVA: 0x00099FD4 File Offset: 0x000981D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ShopSkillId != 0U)
			{
				num ^= this.ShopSkillId.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060037D4 RID: 14292 RVA: 0x0009A02C File Offset: 0x0009822C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060037D5 RID: 14293 RVA: 0x0009A034 File Offset: 0x00098234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060037D6 RID: 14294 RVA: 0x0009A040 File Offset: 0x00098240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ShopSkillId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ShopSkillId);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Level);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060037D7 RID: 14295 RVA: 0x0009A09C File Offset: 0x0009829C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ShopSkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ShopSkillId);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060037D8 RID: 14296 RVA: 0x0009A0F4 File Offset: 0x000982F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildShopAbilityDownCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ShopSkillId != 0U)
			{
				this.ShopSkillId = other.ShopSkillId;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060037D9 RID: 14297 RVA: 0x0009A144 File Offset: 0x00098344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060037DA RID: 14298 RVA: 0x0009A150 File Offset: 0x00098350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Level = input.ReadUInt32();
					}
				}
				else
				{
					this.ShopSkillId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001604 RID: 5636
		private static readonly MessageParser<EvolveBuildShopAbilityDownCsReq> _parser = new MessageParser<EvolveBuildShopAbilityDownCsReq>(() => new EvolveBuildShopAbilityDownCsReq());

		// Token: 0x04001605 RID: 5637
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001606 RID: 5638
		public const int ShopSkillIdFieldNumber = 7;

		// Token: 0x04001607 RID: 5639
		private uint shopSkillId_;

		// Token: 0x04001608 RID: 5640
		public const int LevelFieldNumber = 10;

		// Token: 0x04001609 RID: 5641
		private uint level_;
	}
}
